#ifndef LIST_H
#define LIST_H

#include "portmacro.h"

struct xLIST_ITEM
{
    TickType_t xItemValue;
    struct xLIST_ITEM * pxNext;

    struct xLIST_ITEM * pxPrevious;

    void *pvOwner;

    void *pvContainer;
    
    /* data */
};
typedef struct xLIST_ITEM ListItem_t;

typedef struct xLIST
{
    UBaseType_t uxNumberOfItem;

    ListItem_t * pxIndex;

    MiniListItem_t * xListEnd;
    /* data */
}List_t;

typedef struct xMINI_LIST_ITEM
{
    TickType_t xItemValue;

    ListItem_t * pxNext;

    ListItem_t * pxPrevious;
    /* data */
} MiniListItem_t;




#endif
